package com.bjpowernode.shop.Feign;

import com.bjpowernode.shop.domain.UserAddr;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("member-service")
public interface MemberServiceFeign {

    @GetMapping("/p/address/getDefaultAddr")
   UserAddr getDefaultAddr(@RequestParam("userId") String userId);
}
